package com.xx.service.impl;

import com.xx.entity.User;
import com.xx.mapper.UserMapper;
import com.xx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.logging.Logger;
@Service
public class UserServiceImpl implements UserService {

    @Override
    public List<User> selectAll() {
        System.out.println("查询");
        return null;
    }

    @Override
    public User selectById(int id) {
        System.out.println("根据id查询信息");
        return null;
    }

    @Override
    public void save(User user) {
        System.out.println("保存");

    }

    @Override
    public void deleteById(int id) {
        System.out.println("删除");

    }
}
